<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Modsjoy博客 | 登录</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Font Awesome -->
    <link rel="stylesheet" href="/static/admin/lte/plugins/fontawesome-free/css/all.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/static/admin/lte/dist/css/ionicons.min.css">
    <!-- icheck bootstrap -->
    <link rel="stylesheet" href="/static/admin/lte/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/static/admin/lte/dist/css/adminlte.min.css">
    <!-- Google Font: Source Sans Pro -->
    {#<link href="/static/admin/lte/dist/css/fontscss.css" rel="stylesheet">#}
    <link rel="stylesheet" href="/static/index/css/elegant-fonts.css">
</head>
<body class="hold-transition login-page">
<div class="login-box">
    <div class="login-logo">
        <a href="../../index2.html"><b>Modsjoy</b>博客</a>
    </div>
    <!-- /.login-logo -->
    <div class="card">
        <div class="card-body login-card-body">
            <p class="login-box-msg">登录以开始您的体验</p>

            <form action="/login/" method="post">
                <div class="input-group mb-3">
                    <input type="text" class="form-control" name="username" placeholder="用户名">
                    <div class="input-group-append">
                        <div class="input-group-text">
                            <span class="fas fa-envelope"></span>
                        </div>
                    </div>
                </div>
                <div class="input-group mb-3">
                    <input type="password" class="form-control" name="password" placeholder="密码">
                    <div class="input-group-append">
                        <div class="input-group-text">
                            <span class="fas fa-lock"></span>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-8">
                        <div class="icheck-primary">
                            <input type="checkbox" id="remember">
                            <label for="remember">
                                记住我
                            </label>
                        </div>
                    </div>
                    <!-- /.col -->
                    <div class="col-4">
                        <button type="submit" class="btn btn-primary btn-block">登录</button>
                    </div>
                    <!-- /.col -->
                </div>
            </form>

            <div class="social-auth-links text-center mb-3">
                <p>- <small>或者</small>-</p>
                <a href="#" class="btn btn-block btn-primary">
                    <i class="fab fa-weixin mr-2"></i> 使用微信登录
                </a>
                <a href="#" class="btn btn-block btn-danger">
                    <i class="fab fa-qq mr-2"></i> 使用QQ登录
                </a>
            </div>
            <!-- /.social-auth-links -->

            <p class="mb-1"><a href="/forgot-password/" class="text-secondary">忘记密码</a></p>
            <p class="mb-0"><a href="/register/" class="text-secondary">注册账号</a></p>
{% if session != null %}
            {{ session }}
            {% endif %}
        </div>
        <!-- /.login-card-body -->
    </div>
</div>
<!-- /.login-box -->

<!-- jQuery -->
<script src="/static/admin/lte/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="/static/admin/lte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="/static/admin/lte/dist/js/adminlte.min.js"></script>

</body>
</html>
